package com.jy.mapper;

import com.jy.entity.PageInfo;
import com.jy.entity.Proprietor;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * illustriousness.`t_proprietor` Mapper 接口
 * </p>
 *
 * @author Null
 * @since 2022-11-14
 */
public interface ProprietorMapper extends BaseMapper<Proprietor>{

//    查
    List<Proprietor> allprop(PageInfo pageInfo);
//查总行
    int selectcount();
//
    boolean deleteprop(Integer id);

    Proprietor selectbyid(Integer id);

    boolean updprop(Proprietor proprietor);

    boolean insertprop(Proprietor proprietor);

}
